package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户消息对象 sys_user_notice
 * 
 * @author ruoyi
 * @date 2022-07-15
 */
public class SysUserNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String content;

    /** 消息接收人 */
    @Excel(name = "消息接收人")
    private Long createUser;

    /** 0是未读 1是已读 */
    @Excel(name = "0是未读 1是已读")
    private Long isread;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setIsread(Long isread) 
    {
        this.isread = isread;
    }

    public Long getIsread() 
    {
        return isread;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("createUser", getCreateUser())
            .append("isread", getIsread())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
